<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>网抑郁音乐</title>
<!-- 1. bootstrap.css/bootstrap.min.css -->
<link rel="stylesheet" href="plugins/bootstrap/css/bootstrap.css">
<style>
    @import url(index.css);
    @import url(nav.css);

    
        
    </style>
</head>
<body>
<nav class="navbar navbar-inverse" role="navigation">
        <div class="collapse navbar-collapse" id="example-navbar-collapse">
            <!-- 导航栏 -->
            <ul class="nav navbar-nav">
                <li class="active"><a href="index.html">首页</a></li>
                <li><a href="view\topChart\rank.html">排行榜</a></li>
                <li><a href="view\playList\playlist.html">歌单</a></li>
            </ul>
            
            <!-- 登录按钮 -->
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#" data-toggle="modal" data-target="#myModal">登录</a></li>
                <li><img id="nav_img" src="img/1.png"></li>
            </ul>

            <!-- 搜索框 -->
            <form class="navbar-form navbar-right" id="searchForm">
                <div class="form-group">
                    <input type="text" class="form-control" id="searchInput" placeholder="搜索音乐">
                </div>
                <button type="submit" class="btn btn-default">搜索</button>
            </form>

        </div>
    </div>

    <!-- 模态框（Modal）-begin -->
    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">用户登录入口
                        
                    </h4>
                </div>
                <div class="modal-body">
                    <!-- 登录表单   -begin -->
                    <form class="form-horizontal" role="form">
                        <div class="form-group">
                        <label for="firstname" class="col-sm-2 control-label">邮箱</label>
                        <div class="col-md-8">
                            <input type="text" class="form-control" id="firstname" placeholder="请输入邮箱">
                        </div>
                        <div class="col-md-2" style="margin-left: -20px;">
                            <button type="button" class="btn btn-success">发送验证码</button>
                        </div>
                        </div>
                        <div class="form-group">
                        <label for="lastname" class="col-sm-2 control-label">验证码</label>
                        <div class="col-md-8">
                            <input type="text" class="form-control" id="lastname" placeholder="请输入验证码">
                        </div>
                        </div>
                        <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <div class="checkbox">
                            <label>
                                <input type="checkbox">请记住我
                            </label>
                            </div>
                        </div>
                        </div>
                        <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="button" class="btn btn-default">登录</button>
                        </div>
                        </div>
                    </form>
                    <!-- 登录表单 -end -->
                </div>
                <div class="modal-footer">
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal -->
    </div>
    <!-- 模态框（Modal）- end -->
</nav>

<div id="musicCarousel" class="carousel slide" data-ride="carousel" data-interval="3000">
    <!-- 指示器 -->
    <ol class="carousel-indicators">
        <li data-target="#musicCarousel" data-slide-to="0" class="active"></li>
        <li data-target="#musicCarousel" data-slide-to="1"></li>
        <li data-target="#musicCarousel" data-slide-to="2"></li>
    </ol>

    <!-- 轮播内容 -->
    <div class="carousel-inner">
        <div class="item active">
            <img src="img/1.png" alt="热门专辑">
            <div class="carousel-caption">
                <h3>本周热门单曲</h3>
                <p>最新上榜音乐抢先体验</p>
            </div>
        </div>
        <div class="item">
            <img src="img/2.png" alt="推荐歌单">
            <div class="carousel-caption">
                <h3>精选歌单推荐</h3>
                <p>百万用户收藏的经典合集</p>
            </div>
        </div>
        <div class="item">
            <img src="img/3.png" alt="活动促销">
            <div class="carousel-caption">
                <h3>限时会员福利</h3>
                <p>开通会员享专属音质</p>
            </div>
        </div>
    </div>

    <!-- 控制按钮 -->
    <a class="left carousel-control" href="#musicCarousel" role="button" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
    </a>
    <a class="right carousel-control" href="#musicCarousel" role="button" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
    </a>
</div>

<!-- 热门音乐推荐和侧边栏 -->
<div class="container mt-4">
    <div class="row">
        <!-- 热门音乐推荐 -->
        <div class="col-md-9">
            <h3 style="color: #3498db;">热门音乐推荐</h3>
            <div class="row">
                <!-- 第一排 -->
                <div class="col-md-4 col-sm-6">
                    <div class="thumbnail">
                        <a href="#" class="thumbnail-link"> <!-- 预留超链接 -->
                            <img src="https://picsum.photos/200/200?c1" alt="热门音乐1" class="img-responsive">
                        </a>
                        <div class="caption">
                            <h4>歌曲标题1</h4>
                            <p>艺术家1</p>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 col-sm-6">
                    <div class="thumbnail">
                        <a href="#" class="thumbnail-link"> <!-- 预留超链接 -->
                            <img src="https://picsum.photos/200/200?c1" alt="热门音乐2" class="img-responsive">
                        </a>
                        <div class="caption">
                            <h4>歌曲标题2</h4>
                            <p>艺术家2</p>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 col-sm-6">
                    <div class="thumbnail">
                        <a href="#" class="thumbnail-link"> <!-- 预留超链接 -->
                            <img src="https://picsum.photos/200/200?c1" alt="热门音乐3" class="img-responsive">
                        </a>
                        <div class="caption">
                            <h4>歌曲标题3</h4>
                            <p>艺术家3</p>
                        </div>
                    </div>
                </div>
                <!-- 第二排 -->
                <div class="col-md-4 col-sm-6">
                    <div class="thumbnail">
                        <a href="#" class="thumbnail-link"> <!-- 预留超链接 -->
                            <img src="https://picsum.photos/200/200?c1" alt="热门音乐4" class="img-responsive">
                        </a>
                        <div class="caption">
                            <h4>歌曲标题4</h4>
                            <p>艺术家4</p>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 col-sm-6">
                    <div class="thumbnail">
                        <a href="#" class="thumbnail-link"> <!-- 预留超链接 -->
                            <img src="https://picsum.photos/200/200?c1" alt="热门音乐5" class="img-responsive">
                        </a>
                        <div class="caption">
                            <h4>歌曲标题5</h4>
                            <p>艺术家5</p>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 col-sm-6">
                    <div class="thumbnail">
                        <a href="#" class="thumbnail-link"> <!-- 预留超链接 -->
                            <img src="https://picsum.photos/200/200?c1" alt="热门音乐6" class="img-responsive">
                        </a>
                        <div class="caption">
                            <h4>歌曲标题6</h4>
                            <p>艺术家6</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 侧边栏 -->
        <div class="col-md-3 sidebar">
            <div class="user-avatar">
                <img src="img/1.png" alt="用户头像"> <!-- 这里可以替换为实际头像路径 -->
            </div>
            <h4 style="color: #3498db;">个人信息</h4>
            <p style="color: #3498db;">用户名: [用户名]</p>
            <p style="color: #3498db;">等级: [等级]</p>
            <p style="color: #3498db;">积分: [积分]</p>
        </div>
    </div>
</div>


<script src="search.js"> </script>
<!-- jquery.min.js文件 - jquery本身是js的框架. bootstrap依赖于jquery框架 -->
<script src="plugins/jquery/jquery.min.js"></script>
<!-- bootstrap.js/bootstrap.min.js -->
<script src="plugins/bootstrap/js/bootstrap.js"></script>

</body>
</html>